<template>
	<view class="page">
		<u-form :model="formData" ref="uForm" :label-width="90">
			<uni-row :gutter="10">
				<uni-col :span="24">
					<u-form-item  label="工单类型:" >
						<commonSelect url="erp/inventory/wh/page" :optionKey="{label: 'whName', value: 'whCode'}" @change="handleWH" multiple v-model="formData.asyType" />
					</u-form-item>
				</uni-col>
			</uni-row>
			<u-button type="warning" :disabled="loading" style="margin-top: 10rpx;" @click="submit" >提交</u-button>
		</u-form>
	</view>
</template>

<script>
	import commonSelect from '@/components/common-select.vue'
	export default {
		components:{
			commonSelect
		},
		data(){
			return {
				formData:{
					asyType:'01'
				},
				loading:false
			}
		},
		methods:{
			submit(){
				
			},
			handleWH(values,rows){
				console.log(values)
				console.log(rows)
			}
		}
		
	}
</script>

<style>
	.page{
		padding: 15px;
	}
	page {
	  background-color: #ffffff;
	}
</style>